package org.jeecg.modules.yw.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.jeecg.modules.yw.entity.FileInfo;
import org.jeecg.modules.yw.mapper.FileInfoMapper;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

@Service
public class FileInfoService extends ServiceImpl<FileInfoMapper, FileInfo>{
	 @Resource 
	 private FileInfoMapper fileInfoMapper;
	
	public List<FileInfo> getFileInfoList(String orderId) {
		Map<String, Object> map = new HashMap<String , Object>();
		map.put("fileId", orderId);
		List<FileInfo> list = fileInfoMapper.selectByMap(map);
		return list;
	}
}
